package com.yj.web.WeChat.api;

import com.yj.web.WeChat.Message.WxXmlMessage;
import com.yj.web.WeChat.Message.WxXmlOutMessage;
import com.yj.web.util.Session.WxSessionManager;
import com.yj.web.util.WxErrorException;

import java.util.Map;

/**
 * Created by yanlinyang on 2017/9/10.
 */
public interface WxMessageHandler {
    public WxXmlOutMessage handle(WxXmlMessage wxMessage,
                                  Map<String, Object> context,
                                  WxService wxMpService,
                                  WxSessionManager sessionManager) throws WxErrorException;
}
